┌────────────────────────────────┐ │ ░░░ ░░▓ ░▓▓ ███ ▓▓░ ▓░░ │ │ ~ M O O N ~ │ └────────────────────────────────┘
prd-web-01.centraldc.gr
LOCATION:
/usr/lib/dracut/modules.d/40network
☗ ROOT
↻ REFRESH
✎ EDIT FILE
EDITING: module-setup.sh
#!/usr/bin/bash # called by dracut check() { return 255 } # called by dracut depends() { for module in network-manager systemd-networkd connman network-legacy; do if dracut_module_included "$module"; then echo "$module" return 0 fi done for module in network-manager systemd-networkd connman; do # install the first viable module, unless there omitted module_check $module > /dev/null 2>&1 if [[ $? == 255 ]] && ! [[ " $omit_dracutmodules " == *\ $module\ * ]] && check_module "$module"; then echo "$module" return 0 fi done echo "network-legacy" return 0 }
CANCEL
Name
Type
Size
Modified
Actions
↩ ..
DIR
—
—
📄 module-setup.sh
SH
686 B
2025-05-01 10:52
EDIT